package com.dingtalk.demo.biz;

import com.dingtalk.demo.biz.common.BizResult;
import com.dingtalk.demo.biz.dao.model.BlogDO;
import com.dingtalk.demo.biz.query.BlogQuery;

/**
 * Created by well on 17/7/17.
 */
public interface BlogBiz {

    BizResult detail(long id);

    BizResult list(BlogQuery blogQuery);

    BizResult delete(long id);

    BizResult create(BlogDO blogDO);

    BizResult update(BlogDO blogDO);

    BizResult queryForEdit(long id);
}
